
package net.swa.dewei.beans.vo;

/**
 * 
 * 用于生产ZTree的虚拟对象<p>
 * [功能详细描述]<p>
 * @author Fangzheng
 * @version 1.0, 2011-6-2
 * @see
 * @since V1.0
 */
public class ZTreeNode
{

    /**
     * ztree的默认根节点id
     */
    public static final String ZTREE_ROOT = "0";

    /**
     * 唯一标识该节点的属性
     */
    private String id;

    /**
     * 标识该节点的父节点的属性
     */
    private String pId;

    /**
     * 节点名称
     */
    private String name;

    /**
     * 节点是否被选中
     */
    private boolean checked;

    /**
     * 没有checkbox
     */
    private boolean nocheck;

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getpId()
    {
        return pId;
    }

    public void setpId(String pId)
    {
        this.pId = pId;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public boolean isChecked()
    {
        return checked;
    }

    public void setChecked(boolean checked)
    {
        this.checked = checked;
    }

    public boolean isNocheck()
    {
        return nocheck;
    }

    public void setNocheck(boolean nocheck)
    {
        this.nocheck = nocheck;
    }

}
